package org.king.pojo.dto.account;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class AccountLoginDTO {
    @NotBlank
    private String username;
    @Length(min = 6, max = 20)
    private String password;
    @NotBlank
    private Boolean remember;
}
